package com.gxa.common.entity.platform_maintenance_service1001;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

@Data
@TableName("platform_notice")
public class PlatformNotice {

  private long id;
  private String noticeType;
  private String noticeTitle;
  private String clientSide;
  private String language;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8:00")
  private Timestamp releaseTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8:00")
  private Timestamp creationTime;
  private long status;
  private String informContent;
  private String jumpUrl;
  private String showCover;
  private Integer delStatus;
  @TableField(exist = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp startTime;

  @TableField(exist = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp endTime;
  @TableField(exist = false)
  private Integer startTimeFlag;
  @TableField(exist = false)
  private Integer endTimeFlag;

}
